#ifndef BF
#define BF

#include "BF_Defines.h"

/****************BM Module****************************/
void BMM_Init ( void );

int BMM_GetBlock ( fileInfo_t finfo, int blockNum, char** blockBuf );

int BMM_AllocBlock ( fileInfo_t finfo, int blockNum, char** blockBuf );

int BMM_UnpinBlock ( fileInfo_t finfo, int blockNum, BOOLEAN dirty );

int BMM_DisposeBlock ( fileInfo_t finfo, int blockNum );

int BMM_Flush ( fileInfo_t finfo );

int BMM_Clear ( char* fileName );
#endif
